package com.zide.auth.domain.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zide.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author 石添
 * @date 2024/8/23
 */
@Data
@TableName("member_user")
@Schema(description = "会员表")
public class MemberUser extends BaseEntity {

    @Schema(description = "用户名")
    private String username;
    @Schema(description = "昵称")
    private String nickname;
    @Schema(description = "手机号")
    private String mobile;
    @JsonIgnore
    @Schema(description = "密码")
    private String password;
    @Schema(description = "邮箱")
    private String mailbox;
    @Schema(description = "头像")
    private String avatar;
    @Schema(description = "性别【0：男，1：女，2：保密】")
    private Integer sex;
    @Schema(description = "生日")
    private LocalDate birth;
    @Schema(description = "个人简介")
    private String description;
    @Schema(description = "积分")
    private Integer integral;
    @Schema(description = "状态")
    private Integer status;

}
